<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<div class="am-u-sm-9">
<ol class="am-breadcrumb">
  <li><a href="#">小区管理</a></li>
  <li class="am-active">新建</li>
</ol>
<form class="am-form am-form-horizontal" action="${ctx}/admin/xiaoqu/save.do" method="post">
   <!--
   <input type="hidden"  name="" value="">
   -->
  <div class="am-form-group">
    <label class="am-u-sm-2 am-form-label">小区名称</label>
    <div class="am-u-sm-10 am-fl-im">
      <input type="text" class="am-form-field am-input-sm" name="name" >
    </div>
  </div>
    <div class="am-form-group">
        <label class="am-u-sm-2 am-form-label">小区简拼</label>
        <div class="am-u-sm-10 am-fl-im">
            <input type="text" class="am-form-field am-input-sm" name="code" >
        </div>
    </div>
  <div class="am-form-group">
    <label class="am-u-sm-2 am-form-label">建筑年代</label>
    <div class="am-u-sm-3 am-fl-im">
      <input type="text"  name="buildYear" class="am-form-field am-date" placeholder="" data-am-datepicker readonly/>
    </div>
  </div>
  <div class="am-form-group">
    <label class="am-u-sm-2 am-form-label">物业公司</label>
    <div class="am-u-sm-10 am-fl-im">
      <input type="text" class="am-form-field am-input-sm" name="propertyCompany" >
    </div>
  </div>
  <div class="am-form-group">
    <label class="am-u-sm-2 am-form-label">开发商</label>
    <div class="am-u-sm-10 am-fl-im">
      <input type="text" class="am-form-field am-input-sm" name="developer" >
    </div>
  </div>
  <div class="am-form-group">
    <label class="am-u-sm-2 am-form-label">停车位</label>
    <div class="am-u-sm-2 am-fl-im">
      <input type="text" class="am-form-field am-input-sm" name="park" >
    </div>
  </div>
  <div class="am-form-group">
    <label class="am-u-sm-2 am-form-label">详细地址</label>
    <div class="am-u-sm-10 am-fl-im">
      <input type="text" class="am-form-field am-input-sm" name="address" >
    </div>
  </div>
  <div class="am-form-group">
    <label class="am-u-sm-2 am-form-label">小区简介</label>
    <div class="am-u-sm-10 am-fl-im">
      <textarea name="discription"></textarea>
    </div>
  </div>
  <div class="am-form-group">
    <label class="am-u-sm-2 am-form-label">周边描述</label>
    <div class="am-u-sm-10 am-fl-im">
      <textarea name="surrounding"></textarea>
    </div>
  </div>
  <div class="am-form-group">
    <label class="am-u-sm-2 am-form-label">交通状况</label>
    <div class="am-u-sm-10 am-fl-im">
      <textarea name="traffic"></textarea>
    </div>
  </div>

  <div class="am-form-group">
    <div class="am-u-sm-10 am-u-sm-offset-2">
      <button type="submit" class="am-btn am-btn-success am-radius">提交</button>
      <button type="button" class="am-btn am-btn-default" onclick="goback()">返回</button>
    </div>
  </div>
</form>
</div>
<script>
  function goback(){
    location.href="${ctx}/admin/xiaoqu/index.do"
  }
</script>